\documentclass{article}
% translate with >> pdflatex -shell-escape <file>

% This file is used as unit test for pgfplots, copyright by Christian Feuersaenger.
% 
% See
%   http://pgfplots.sourceforge.net/pgfplots.pdf
% for pgfplots.
%
% Any required input files (for <plot table> or <plot file> or the table package) can be downloaded
% at
% http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/
% and
% http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/plotdata/

\usepackage{pgfplots}
\pgfplotsset{compat=1.3}

\pagestyle{empty}

\begin{document}
	{
		\clearpage
		\makeatletter
		\pgfplotsdeclareborderanchorforticklabelaxis x{test anchor}

		\def\pgfplotspointouternormalvectorofaxisgetv#1{\def\pgfplotsretval{testdummy}}
		
		\begin{tikzpicture}
		\draw (0,0) circle (5cm);
		\foreach \degree in {0,15,...,359} {
			\def\pgfplotspointouternormalvectorofaxis##1{%
				\pgfpointpolar{\degree}{1pt}
			}%
			\def\pgfplotspointunitx{\pgfpointpolar{\degree+90}{1pt}}%
			\def\pgfplotsunitxinvlength{1}%
			\draw (0,0) -- (\degree:6cm);
			\node[fill=yellow,anchor=center] at (\degree:5cm) {\degree};
			\node[
				draw=red,
				anchor=test anchor,
			] at (\degree:5cm) {\large label for \degree};
		}
		\end{tikzpicture}
	}
\end{document}
